'use strict';
const { watch } = require('gulp');
var gulp = require('gulp');
var sass = require('gulp-sass')(require('sass'));

function buildStyles() {
    return gulp.src('./www/sass/detailGoods.scss')
        .pipe(sass().on('error', sass.logError))
        .pipe(gulp.dest('./www/css'));
};
function watchSass(cb){
    watch(['./www/sass/detailGoods.scss'],buildStyles)
    cb()
}
exports.wfn = watchSass;
